using System.Reflection;
using System.Runtime.CompilerServices;
using System.Security;

[assembly: AssemblyTitleAttribute( "TallComponents.Web.PdfViewer" )]
[assembly: AssemblyDescriptionAttribute( "View PDF in a WebPage" )]

#if NET35 || NET40
[assembly: InternalsVisibleTo( "TallComponents.Web.PdfViewer.Test, PublicKey=0024000004800000940000000602000000240000525341310004000001000100e7cb4cf8a68ece073cfafe0e1450969d9ac39206ecfa5df4c274aa3d7f75d8e3c2191b6b3c68e39ff36a48f17c63816479e53042bb33b1e9ca77469777beee491b38a19a409ddcdc5b51d6a920f817b6379b1819491b46fae28584c51d573ec4b69939b05ed974b339ae72584a3d3f1413c4c6a016fbfa974f80df02cc862ebf" )]
#endif
[assembly: System.CLSCompliant( true )]
#if NET40
[assembly: SecurityRules( SecurityRuleSet.Level1 )]
#endif
[assembly: AllowPartiallyTrustedCallers]

//Obfuscation settings.

//disable string encryption
[assembly: Obfuscation( Feature = "encrypt-strings" )]
// Use prefix tc
[assembly: Obfuscation( Feature = "add-prefix /prefix:tc" )]
// Don't strip unused classes
[assembly: Obfuscation( Feature = "disable-cleanup" )]
[assembly: Obfuscation( Feature = "protect-serialization")]
// Inject custom PDFKit build.
[assembly: Obfuscation( Feature = "inject /assembly:TallComponents.PDF.KitWebViewer.dll /internal:false" )]

// Obfuscate all internals
[assembly: Obfuscation(Feature = "make-internal /namespace:TallComponents.PDF", Exclude = false)]
[assembly: Obfuscation(Feature = "rename /namespace:TallComponents.PDF", Exclude = false)]
[assembly: Obfuscation(Feature = "rename /namespace:TallComponents.JavaScript", Exclude = false)]
//[assembly: Obfuscation(Feature = "protect-serialization /namespace:TallComponents.PDF", Exclude = false)]

// Serializable classes are not obfuscated by default
[assembly: Obfuscation( Feature = "rename /namespace:Org", Exclude = false )]
[assembly: Obfuscation( Feature = "rename /namespace:EMFConverter", Exclude = false )]
[assembly: Obfuscation( Feature = "rename /namespace:ICSharpCode", Exclude = false )]

// Do not obfuscate license stuff
[assembly: Obfuscation( Feature = "rename /type:TallComponents.Licensing.License", Exclude = true)]
[assembly: Obfuscation( Feature = "make-internal /type:TallComponents.Licensing.License", Exclude = true )]
[assembly: Obfuscation( Feature = "rename /type:TallComponents.Licensing.LicenseAttribute", Exclude = true)]
[assembly: Obfuscation( Feature = "make-internal /type:TallComponents.Licensing.LicenseAttribute", Exclude = true )]
[assembly: Obfuscation( Feature = "rename /type:TallComponents.Licensing.PDFWebViewerLicenseAttribute", Exclude = true)]
[assembly: Obfuscation( Feature = "make-internal /type:TallComponents.Licensing.PDFWebViewerLicenseAttribute", Exclude = true )]

// Strip out PDFKit licensing stuff
[assembly: Obfuscation( Feature = "make-internal /type:TallComponents.Licensing.PDFKitLicenseAttribute", Exclude = false )]
[assembly: Obfuscation( Feature = "rename /type:TallComponents.Licensing.PDFKitLicenseAttribute", Exclude = false)]
[assembly: Obfuscation( Feature = "cleanup /type:TallComponents.Licensing.PDFKitLicenseAttribute", Exclude = false )]
[assembly: Obfuscation( Feature = "cleanup /namespace:TallComponents.Licensing.PDFKit1", Exclude = false )]
[assembly: Obfuscation( Feature = "cleanup /namespace:TallComponents.Licensing.PDFKit2", Exclude = false )]
[assembly: Obfuscation( Feature = "cleanup /namespace:TallComponents.Licensing.PDFKit3", Exclude = false )]

//Uncomment to enable inspection of obfuscated assembly with .NET Reflector
[assembly: Obfuscation( Feature = "disable-inject-metadata" )]

[assembly: Obfuscation(Feature = "disable-encrypt-resources", Exclude = true)]
[assembly: Obfuscation( Feature = "rename /type:TallComponents.Web.Pdf.BookmarkAction", Exclude = true)]